<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">

<hibernate-mapping>
    <class name="com.ogilvy.audi.bean.Album" table="tbl_circle_album" >
        <id name="albumId" type="java.lang.Integer">
            <column name="album_id" />
            <generator class="native" />
        </id>
        <property name="crDate" type="java.lang.String">
            <column name="cr_date" length="50" not-null="true" />
        </property>
         <property name="picDesc" type="java.lang.String">
            <column name="pic_desc" length="50" not-null="true" />
        </property>
        <property name="isApprove" type="java.lang.Integer">
            <column name="is_approve" length="50" />
        </property>
        <property name="cmntNum" type="java.lang.Integer">
            <column name="cmnt_num" length="50" />
        </property>
        <property name="favoritesNum" type="java.lang.Integer">
            <column name="favorites_num" length="50" />
        </property>
        <property name="pointNum" type="java.lang.Integer">
            <column name="point_num" length="50" />
        </property>
        <property name="urlAddress" type="java.lang.String">
            <column name="url_address" length="50" />
        </property>
         <many-to-one name="circle" class="com.ogilvy.audi.bean.Circle">
        	<column name="circle_id" not-null="true"/>	
        </many-to-one>
        
    </class>
</hibernate-mapping>
